package com.ruoyi.user.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 资金余额对象 t_user_total_capital
 * 
 * @author DEREK
 * @date 2023-05-22
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_total_capital")
public class UserTotalCapital
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 金额类型:1、互动奖励(K币)  ；2、邀请收入的K币 3、钻石（虚拟币） */
    @Excel(name = "金额类型:1、互动奖励(K币)  ；2、邀请收入的K币 3、钻石", readConverterExp = "虚=拟币")
    private String amountType;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /** 提现冻结金额 */
    @Excel(name = "提现冻结金额")
    private BigDecimal frozenAmount;
    
    private BigDecimal waitAmount;
    
    private BigDecimal canAmount;

    /** 是否冻结（账户）：1、冻结，0、未冻结 */
    @Excel(name = "是否冻结", readConverterExp = "账=户")
    private String isAccountFrozen;

    /** 账户冻结说明 */
    @Excel(name = "账户冻结说明")
    private String accountFrozenExplain;
    
    private Date createTime;
}
